﻿using System.ComponentModel;

namespace DevelopmentKit.Cms.Enums
{
    /// <summary>
    /// 属性验证类型
    /// </summary>
    public enum PropertyValidType
    {
        /// <summary>
        /// 非空验证
        /// </summary>
        [Description("非空验证")]
        Required,
        /// <summary>
        /// 字符串长度
        /// </summary>
        [Description("长度验证")]
        StringLeng,
        /// <summary>
        /// 范围验证
        /// </summary>
        [Description("范围验证")]
        Range,
        /// <summary>
        /// 正则
        /// </summary>
        [Description("正则验证")]
        RegularExpression,
        /// <summary>
        /// 比较验证
        /// </summary>
        [Description("比较验证")]
        Compare,

    }
}